package yf.mall.enums;

import lombok.Getter;

@Getter
public enum ShopTypeEnum {

    ZERO(0,"线下店铺"),

    ONE(1,"智慧门店")
    ;

    int index;
    String value;

    ShopTypeEnum(int index, String value) {
        this.index = index;
        this.value = value;
    }

    public static String indexOf(int idx) {
        return MallActRewardTypeEnum.values()[idx].getValue();
    }
}
